Basic Image AlgorithmS Library 2.8.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes

BIAS::VideoShMFeederPMD Class Reference

class to save Images to a Sharerd memory. More...

#include <VideoSource/VideoShMFeederPMD.hh>

Inheritance diagram for BIAS::VideoShMFeederPMD:
Collaboration diagram for BIAS::VideoShMFeederPMD:

List of all members.

Public Member Functions

void AddDebugLevel (const long int lv)
void AddDebugLevel (const std::string &name)
bool DebugLevelIsSet (const long int lv) const
bool DebugLevelIsSet (const std::string &name) const
int GetDebugLevel () const
std::ostream & GetDebugStream () const
void GetDebugStream (std::ostream &os) const
long int Name2DebugLevel (const std::string &name) const
 looks up a debuglevel in the internal map, returns 0 if not found
long int NewDebugLevel (const std::string &name)
 creates a new debuglevel
void PrintDebugLevel (std::ostream &os=std::cout) const
bool ProcessImage (BIAS::Camera< unsigned char > *Img2D, BIAS::Camera< float > *ImgDepth, BIAS::Camera< float > *ImgModCoeff)
bool ProcessImage (BIAS::Camera< unsigned char > *Image)
void RemoveDebugLevel (const long int lv)
void RemoveDebugLevel (const std::string &name)
void SetDebugLevel (const std::string &name)
void SetDebugLevel (const long int lv)
void SetDebugStream (const std::ostream &os)
void ShowDebugLevel (std::ostream &os=std::cout) const
 prints all internally known debuglevels
 VideoShMFeederPMD ()
 VideoShMFeederPMD (const std::string &filename)
 ~VideoShMFeederPMD ()

Static Public Member Functions

static long int GetGlobalDebugLevel ()
static void SetGlobalDebugLevel (long int lev)

Protected Member Functions

long ConsumeNextFreeDebuglevel_ ()
 returns the next available debuglevel
bool Init_ ()
VideoShMFeederPMDoperator= (const VideoShMFeederPMD &source)
 prohibit default function (move to 'public' if needed)
 VideoShMFeederPMD (const VideoShMFeederPMD &source)
 prohibit default function (move to 'public' if needed)

Protected Attributes

long int _liDebugLevel
long int _liNextDebugLevel
 new concept, debuglevel are managed here in the debug class
std::map< std::string, long int > _String2Debuglevel
bool bIsInitialized_
unsigned char * Data_
int DataLength_
std::string FileName_
VideoSource_Shm::ShmImageHeaderHeader_
std::stringstream ImgBuffer_
int MemoryLengthTotal_
void * Shm_
int ShmContext_

Static Protected Attributes

static std::ostream _zDebugStream
static long int GlobalDebugLevel = 0

Detailed Description

class to save Images to a Sharerd memory.

It also transfers Depth and Amplitude data coming from a PMD camera.

streckel 08/2006

Definition at line 63 of file VideoShMFeederPMD.hh.


Constructor & Destructor Documentation

VideoShMFeederPMD::VideoShMFeederPMD ( )

Definition at line 32 of file VideoShMFeederPMD.cpp.

VideoShMFeederPMD::VideoShMFeederPMD ( const std::string &  filename)

Definition at line 37 of file VideoShMFeederPMD.cpp.

VideoShMFeederPMD::~VideoShMFeederPMD ( )

Definition at line 41 of file VideoShMFeederPMD.cpp.

BIAS::VideoShMFeederPMD::VideoShMFeederPMD ( const VideoShMFeederPMD source) [protected]

prohibit default function (move to 'public' if needed)


Member Function Documentation

void BIAS::Debug::AddDebugLevel ( const long int  lv) [inline, inherited]
void BIAS::Debug::AddDebugLevel ( const std::string &  name) [inline, inherited]

Definition at line 363 of file Debug.hh.

long BIAS::Debug::ConsumeNextFreeDebuglevel_ ( ) [inline, protected, inherited]

returns the next available debuglevel

Author:
woelk 09/2006

Definition at line 522 of file Debug.hh.

bool BIAS::Debug::DebugLevelIsSet ( const std::string &  name) const [inline, inherited]

Definition at line 351 of file Debug.hh.

bool BIAS::Debug::DebugLevelIsSet ( const long int  lv) const [inline, inherited]
int BIAS::Debug::GetDebugLevel ( ) const [inline, inherited]
std::ostream& BIAS::Debug::GetDebugStream ( ) const [inline, inherited]

Definition at line 406 of file Debug.hh.

void BIAS::Debug::GetDebugStream ( std::ostream &  os) const [inline, inherited]

Definition at line 415 of file Debug.hh.

static long int BIAS::Debug::GetGlobalDebugLevel ( ) [inline, static, inherited]

Definition at line 432 of file Debug.hh.

bool VideoShMFeeder::Init_ ( ) [protected, inherited]

Definition at line 91 of file VideoShMFeeder.cpp.

Referenced by ProcessImage().

long int BIAS::Debug::Name2DebugLevel ( const std::string &  name) const [inline, inherited]

looks up a debuglevel in the internal map, returns 0 if not found

Author:
woelk 09/2006

Definition at line 455 of file Debug.hh.

long int BIAS::Debug::NewDebugLevel ( const std::string &  name) [inline, inherited]
VideoShMFeederPMD& BIAS::VideoShMFeederPMD::operator= ( const VideoShMFeederPMD source) [protected]

prohibit default function (move to 'public' if needed)

void BIAS::Debug::PrintDebugLevel ( std::ostream &  os = std::cout) const [inline, inherited]

Definition at line 384 of file Debug.hh.

bool VideoShMFeederPMD::ProcessImage ( BIAS::Camera< unsigned char > *  Img2D,
BIAS::Camera< float > *  ImgDepth,
BIAS::Camera< float > *  ImgModCoeff 
)
bool VideoShMFeeder::ProcessImage ( BIAS::Camera< unsigned char > *  Image) [inherited]
Examples:
ExampleVideofeedShm.cpp.

Definition at line 178 of file VideoShMFeeder.cpp.

void BIAS::Debug::RemoveDebugLevel ( const std::string &  name) [inline, inherited]

Definition at line 377 of file Debug.hh.

void BIAS::Debug::RemoveDebugLevel ( const long int  lv) [inline, inherited]

Definition at line 370 of file Debug.hh.

void BIAS::Debug::SetDebugLevel ( const std::string &  name) [inline, inherited]

Definition at line 326 of file Debug.hh.

void BIAS::Debug::SetDebugLevel ( const long int  lv) [inline, inherited]
void BIAS::Debug::SetDebugStream ( const std::ostream &  os) [inline, inherited]

Definition at line 399 of file Debug.hh.

static void BIAS::Debug::SetGlobalDebugLevel ( long int  lev) [inline, static, inherited]

Definition at line 425 of file Debug.hh.

void BIAS::Debug::ShowDebugLevel ( std::ostream &  os = std::cout) const [inline, inherited]

prints all internally known debuglevels

Author:
woelk 09/2006

Definition at line 497 of file Debug.hh.


Member Data Documentation

long int BIAS::Debug::_liDebugLevel [protected, inherited]

Definition at line 511 of file Debug.hh.

Referenced by BIAS::ImageBase::operator=(), and BIAS::Debug::operator=().

long int BIAS::Debug::_liNextDebugLevel [protected, inherited]

new concept, debuglevel are managed here in the debug class

Definition at line 517 of file Debug.hh.

Referenced by BIAS::Debug::operator=().

std::map<std::string, long int> BIAS::Debug::_String2Debuglevel [protected, inherited]

Definition at line 518 of file Debug.hh.

Referenced by BIAS::Debug::operator=().

std::ostream BIAS::Debug::_zDebugStream [static, protected, inherited]

Definition at line 512 of file Debug.hh.

Referenced by BIAS::Debug::operator=().

bool BIAS::VideoShMFeeder::bIsInitialized_ [protected, inherited]

Definition at line 89 of file VideoShMFeeder.hh.

Referenced by ProcessImage().

unsigned char* BIAS::VideoShMFeeder::Data_ [protected, inherited]

Definition at line 88 of file VideoShMFeeder.hh.

Referenced by ProcessImage().

int BIAS::VideoShMFeeder::DataLength_ [protected, inherited]

Definition at line 84 of file VideoShMFeeder.hh.

Referenced by ProcessImage().

std::string BIAS::VideoShMFeeder::FileName_ [protected, inherited]

Definition at line 90 of file VideoShMFeeder.hh.

long int BIAS::Debug::GlobalDebugLevel = 0 [static, protected, inherited]

Definition at line 514 of file Debug.hh.

Definition at line 86 of file VideoShMFeeder.hh.

Referenced by ProcessImage().

std::stringstream BIAS::VideoShMFeeder::ImgBuffer_ [protected, inherited]

Definition at line 87 of file VideoShMFeeder.hh.

Referenced by ProcessImage().

int BIAS::VideoShMFeeder::MemoryLengthTotal_ [protected, inherited]

Definition at line 83 of file VideoShMFeeder.hh.

void* BIAS::VideoShMFeeder::Shm_ [protected, inherited]

Definition at line 85 of file VideoShMFeeder.hh.

int BIAS::VideoShMFeeder::ShmContext_ [protected, inherited]

Definition at line 80 of file VideoShMFeeder.hh.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends