Beispiel #1
0
Text::Text(float x,float y, float pixelSize, const char* text) :
		super(x,y,0.f,0.f, gVertexShader, gFragmentShader)
{
	internalInit(CORE->screen_width * pixelSize);
	setText(text);

}
ptFilter_SpotTuning::ptFilter_SpotTuning()
: ptFilterBase(),
  FInteractionOngoing(false),
  FSpotList(ptImageSpotList(std::bind(&ptFilter_SpotTuning::createSpot, this)))
{
  internalInit();
}
void
MoonBody::update()
{
    if( _dirty )
    {
        internalInit();
        _dirty = false;
    }
}
QueryBenchmarks::QueryBenchmarks( unsigned int contextID, osg::RenderInfo* ri )
  : osg::Referenced(),
    _trSetup( 0. ), _trTriangle( 0. ), _trFragment( 0. ),
    _toSetup( 0. ), _toFragment( 0. ),
    _toLatency( 0. ), _toOverhead( 0. ),
    _initialized( false )

{
    internalInit( contextID, ri );
}
Beispiel #5
0
QueryAPI::QueryAPI( unsigned int contextID )
  : osg::Referenced(),
    _initialized( false ),
    _queryAPISupported( false ),
    _timerQuerySupported( false ),
    _transformFeedback3Supported( false ),
    _transformFeedbackSupported( false ),
    _occlusionQuery2Supported( false )
{
    internalInit( contextID );
}
Beispiel #6
0
AREXPORT ArSocket::ArSocket() :
  myType(Unknown),
  myError(NoErr),
  myErrorStr(),
  myDoClose(true),
  myFD(-1),
  myNonBlocking(false),
  mySin()
{
  internalInit();
}
Beispiel #7
0
AREXPORT ArSocket::ArSocket(int port, bool doClose, Type type) :
  myType(type),
  myError(NoErr),
  myErrorStr(),
  myDoClose(doClose),
  myFD(-1),
  myNonBlocking(false),
  mySin()
{
  internalInit();
  open(port, type);
}
Beispiel #8
0
AREXPORT ArSocket::ArSocket(const char *host, int port, Type type) :
  myType(type),
  myError(NoErr),
  myErrorStr(),
  myDoClose(true),
  myFD(-1),
  myNonBlocking(false),
  mySin()
{
  internalInit();
  connect(host, port, type);
}
Beispiel #9
0
/**
 * 			做为服务器端时使用的构造函数
 *@doClose 当套接字析构时,是否自动关闭该连接套接字
*/
RobotSocket::RobotSocket(int port, bool doClose, Type type) :   
  myType(type),
  myError(NoErr),
  myErrorStr(),
  myDoClose(doClose),
  myFD(-1),
  myNonBlocking(false),
  mySin()
{
	internalInit();
	open(port, type);	//主动打开,被动连接
}
Beispiel #10
0
TimeoutManager::TimeoutManager()
    : CThread("TimeoutManager", true)
    , mLogger(Logger::getInstance(LOG4CPLUS_TEXT("utils")))
    , mNumberOfThreads(1)
    , mSubscriberMapMutex(NULL)
    , mThreadSemaphore(NULL)
    , mBe (true)
    , mThreadPool(NULL)
    , mStartSemaphore(NULL)
{
    LOG4CPLUS_TRACE_METHOD(mLogger, __PRETTY_FUNCTION__);
    internalInit();
}
Beispiel #11
0
/*
 *@ 为进行套接字和相关控制的构造函数
 * */
RobotSocket::RobotSocket(void) : 
	//套接字类型
  myType(Unknown),
	//错误原因   	
  myError(NoErr),	
	//错误描述
  myErrorStr(),		
	//析构时是否关闭套接字,默认是要关闭
  myDoClose(true),	
	//套接字
  myFD(-1),	
	//不阻塞
  myNonBlocking(false), 	
	//套接字结构
  mySin()	
{
	internalInit();
}
Beispiel #12
0
ptFilter_Tone::ptFilter_Tone()
: ptFilterBase()
{
//  FHelpUri = "http://photivo.org/something";
  internalInit();
}
ptFilter_Outline::ptFilter_Outline()
: ptFilterBase()
{
  internalInit();
}
//------------------------------------------------------------------------------
ptFilter_ABCurves::ptFilter_ABCurves()
: ptFilterBase()
{
  internalInit();
}
Beispiel #15
0
HumanPlayer::HumanPlayer (int aMyNumber, PrefModel *model) : Player(aMyNumber, model) {
  internalInit();
}
Beispiel #16
0
Text::Text(int x,int y, int pixelSize, const char* text) :
		super(x,y,0,0, gVertexShader, gFragmentShader)
{
	internalInit(pixelSize);
	setText(text);
}
ptFilter_ColorBoost::ptFilter_ColorBoost()
: ptFilterBase()
{
//  FHelpUri = "http://photivo.org/something";
  internalInit();
}
ptFilter_GammaTool::ptFilter_GammaTool()
: ptFilterBase()
{
  internalInit();
}
SkyDomeStage::SkyDomeStage( const SkyDomeStage& rhs, const osg::CopyOp& copyop )
  : osgUtil::RenderStage( rhs ),
    _enable( rhs._enable )
{
    internalInit();
}
SkyDomeStage::SkyDomeStage()
  : osgUtil::RenderStage(),
    _enable( true )
{
    internalInit();
}