OpenCPN Partial API docs
All Classes Namespaces Functions Variables Pages
Osenc Class Reference

Public Member Functions

wxString getLastError ()
 
void setVerbose (bool verbose)
 
void setNoErrDialog (bool val)
 
int ingestHeader (const wxString &senc_file_name)
 
int ingest (const wxString &senc_file_name, S57ObjVector *pObjectVector, VE_ElementVector *pVEArray, VC_ElementVector *pVCArray)
 
int ingest200 (const wxString &senc_file_name, S57ObjVector *pObjectVector, VE_ElementVector *pVEArray, VC_ElementVector *pVCArray)
 
void SetLODMeters (double meters)
 
void setRegistrar (S57ClassRegistrar *registrar)
 
void setRefLocn (double lat, double lon)
 
void setOutstream (Osenc_outstream *stream)
 
void setInstream (Osenc_instream *stream)
 
wxString getUpdateDate ()
 
wxString getBaseDate ()
 
wxString getSENCFileCreateDate ()
 
int getSencReadVersion ()
 
wxString getSENCReadBaseEdition ()
 
int getSENCReadLastUpdate ()
 
int getSENCReadScale ()
 
wxString getReadName ()
 
wxString getReadID ()
 
ExtentgetReadExtent ()
 
SENCFloatPtrArray & getSENCReadAuxPointArray ()
 
std::vector< int > & getSENCReadAuxPointCountArray ()
 
SENCFloatPtrArray & getSENCReadNOCOVRPointArray ()
 
std::vector< int > & getSENCReadNOCOVRPointCountArray ()
 
int createSenc200 (const wxString &FullPath000, const wxString &SENCFileName, bool b_showProg=true)
 
void CreateSENCVectorEdgeTableRecord200 (Osenc_outstream *stream, S57Reader *poReader)
 
void CreateSENCVectorConnectedTableRecord200 (Osenc_outstream *stream, S57Reader *poReader)
 
void InitializePersistentBuffer (void)
 
unsigned char * getBuffer (size_t length)
 
int getNativeScale ()
 
int GetBaseFileInfo (const wxString &FullPath000, const wxString &SENCFileName)
 

Public Attributes

std::unique_lock< std::mutex > lockCR
 

Detailed Description

Definition at line 401 of file Osenc.h.

Constructor & Destructor Documentation

◆ Osenc()

Osenc::Osenc ( )

Definition at line 183 of file Osenc.cpp.

◆ ~Osenc()

Osenc::~Osenc ( )

Definition at line 185 of file Osenc.cpp.

Member Function Documentation

◆ createSenc200()

int Osenc::createSenc200 ( const wxString &  FullPath000,
const wxString &  SENCFileName,
bool  b_showProg = true 
)

Definition at line 1474 of file Osenc.cpp.

◆ CreateSENCVectorConnectedTableRecord200()

void Osenc::CreateSENCVectorConnectedTableRecord200 ( Osenc_outstream stream,
S57Reader poReader 
)

Definition at line 2717 of file Osenc.cpp.

◆ CreateSENCVectorEdgeTableRecord200()

void Osenc::CreateSENCVectorEdgeTableRecord200 ( Osenc_outstream stream,
S57Reader poReader 
)

Definition at line 2553 of file Osenc.cpp.

◆ getBaseDate()

wxString Osenc::getBaseDate ( )
inline

Definition at line 428 of file Osenc.h.

◆ GetBaseFileInfo()

int Osenc::GetBaseFileInfo ( const wxString &  FullPath000,
const wxString &  SENCFileName 
)

Definition at line 3595 of file Osenc.cpp.

◆ getBuffer()

unsigned char * Osenc::getBuffer ( size_t  length)

Definition at line 3694 of file Osenc.cpp.

◆ getLastError()

wxString Osenc::getLastError ( )
inline

Definition at line 406 of file Osenc.h.

◆ getNativeScale()

int Osenc::getNativeScale ( )
inline

Definition at line 458 of file Osenc.h.

◆ getReadExtent()

Extent & Osenc::getReadExtent ( )
inline

Definition at line 438 of file Osenc.h.

◆ getReadID()

wxString Osenc::getReadID ( )
inline

Definition at line 437 of file Osenc.h.

◆ getReadName()

wxString Osenc::getReadName ( )
inline

Definition at line 436 of file Osenc.h.

◆ getSENCFileCreateDate()

wxString Osenc::getSENCFileCreateDate ( )
inline

Definition at line 430 of file Osenc.h.

◆ getSENCReadAuxPointArray()

SENCFloatPtrArray & Osenc::getSENCReadAuxPointArray ( )
inline

Definition at line 440 of file Osenc.h.

◆ getSENCReadAuxPointCountArray()

std::vector< int > & Osenc::getSENCReadAuxPointCountArray ( )
inline

Definition at line 441 of file Osenc.h.

◆ getSENCReadBaseEdition()

wxString Osenc::getSENCReadBaseEdition ( )
inline

Definition at line 433 of file Osenc.h.

◆ getSENCReadLastUpdate()

int Osenc::getSENCReadLastUpdate ( )
inline

Definition at line 434 of file Osenc.h.

◆ getSENCReadNOCOVRPointArray()

SENCFloatPtrArray & Osenc::getSENCReadNOCOVRPointArray ( )
inline

Definition at line 442 of file Osenc.h.

◆ getSENCReadNOCOVRPointCountArray()

std::vector< int > & Osenc::getSENCReadNOCOVRPointCountArray ( )
inline

Definition at line 443 of file Osenc.h.

◆ getSENCReadScale()

int Osenc::getSENCReadScale ( )
inline

Definition at line 435 of file Osenc.h.

◆ getSencReadVersion()

int Osenc::getSencReadVersion ( )
inline

Definition at line 432 of file Osenc.h.

◆ getUpdateDate()

wxString Osenc::getUpdateDate ( )
inline

Definition at line 427 of file Osenc.h.

◆ ingest200()

int Osenc::ingest200 ( const wxString &  senc_file_name,
S57ObjVector *  pObjectVector,
VE_ElementVector *  pVEArray,
VC_ElementVector *  pVCArray 
)

Definition at line 520 of file Osenc.cpp.

◆ ingestHeader()

int Osenc::ingestHeader ( const wxString &  senc_file_name)

Definition at line 262 of file Osenc.cpp.

◆ InitializePersistentBuffer()

void Osenc::InitializePersistentBuffer ( void  )

Definition at line 3689 of file Osenc.cpp.

◆ setInstream()

void Osenc::setInstream ( Osenc_instream stream)
inline

Definition at line 425 of file Osenc.h.

◆ SetLODMeters()

void Osenc::SetLODMeters ( double  meters)
inline

Definition at line 418 of file Osenc.h.

◆ setNoErrDialog()

void Osenc::setNoErrDialog ( bool  val)
inline

Definition at line 408 of file Osenc.h.

◆ setOutstream()

void Osenc::setOutstream ( Osenc_outstream stream)
inline

Definition at line 424 of file Osenc.h.

◆ setRefLocn()

void Osenc::setRefLocn ( double  lat,
double  lon 
)
inline

Definition at line 420 of file Osenc.h.

◆ setRegistrar()

void Osenc::setRegistrar ( S57ClassRegistrar registrar)
inline

Definition at line 419 of file Osenc.h.

◆ setVerbose()

void Osenc::setVerbose ( bool  verbose)

Definition at line 257 of file Osenc.cpp.

Member Data Documentation

◆ lockCR

std::unique_lock<std::mutex> Osenc::lockCR

Definition at line 462 of file Osenc.h.


The documentation for this class was generated from the following files: